home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / var / db / pkg / net-wireless / linux-wlan-ng-utils-0.2.2 / linux-wlan-ng-utils-0.2.2.ebuild < prev    next >
Text File  |  2006-03-31  |  834b  |  38 lines

  1. # Copyright 1999-2005 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-utils/linux-wlan-ng-utils-0.2.2.ebuild,v 1.3 2005/12/03 11:52:36 blubb Exp $
  4.  
  5. MY_P=${P/-utils/}
  6. S=${WORKDIR}/${MY_P}
  7.  
  8. DESCRIPTION="Key generators from the linux-wlan-ng project."
  9. HOMEPAGE="http://linux-wlan.org"
  10. SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.bz2"
  11.  
  12. LICENSE="MPL-1.1"
  13. SLOT="0"
  14. KEYWORDS="~amd64 ~ppc ~x86"
  15.  
  16. IUSE=""
  17.  
  18. DEPEND="dev-libs/openssl"
  19. RDEPEND="${DEPEND}"
  20.  
  21. KEYGENS="keygen lwepgen"
  22.  
  23. src_compile() {
  24.     for keygen in ${KEYGENS}; do
  25.         cd add-ons/${keygen}
  26.         make ${keygen} || die "Failed to make ${keygen}"
  27.         cd ${S}
  28.     done
  29. }
  30.  
  31. src_install() {
  32.     for keygen in ${KEYGENS}; do
  33.         cd add-ons/${keygen}
  34.         dosbin ${keygen}
  35.         cd ${S}
  36.     done
  37. }
  38.